package homework;

public class homework03 {
    public static void main(String[] args) {
        Manager jack = new Manager("jack", 100, 20, 1.2);
        //设置奖金
        jack.setBonus(3000);
        jack.printSal();

        Worker worker = new Worker("关羽", 50, 10, 1.0);
        worker.printSal();
    }
}
